# -*- mode: snippet -*-
# name: clinfun::ph2simon template
# key: clinfun.ph2simon.template
# contributor: Shuguang Sun
# --
p0 <- 0.1 # unacceptable/poor p
p1 <- 0.4 # acceptable/good p
alpha <- 0.05 # single-sided
power <- 0.8
clinfun::ph2simon(pu = ${1:p0}, pa = ${2:p1}, ep1 = ${3:alpha}, ep2 = ${4:1-power}$0)